package com.company.cloud.oss.modules.app.controller.req;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.Set;

@Getter
@Setter
public class OssCallbackSignParam extends BaseParam {


    @ApiModelProperty(value = "图片缩放的宽度(px)")
    private Set<Integer> resizeWidht;

    @ApiModelProperty(value = "图片质量变换[1-100(有效)]")
    private int quality=0;

    @ApiModelProperty(value = "是否上传图片(YN)",required = true)
    @NotEmpty(message = "是否上传图片不能为空")
    private String isImg= BaseConstant.YNEnum.NO.getCode();


}
